Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 281, in build_main
app.build(args.force_all, args.filenames)
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 341, in build
self.builder.build_update()
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 310, in build_update
self.build(to_build,
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 376, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 571, in write
self._write_serial(sorted(docnames))
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 574, in _write_serial
with logging.pending_warnings():
File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 218, in pending_warnings
memhandler.flushTo(logger)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 183, in flushTo
logger.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
self.callHandlers(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 964, in handle
rv = self.filter(record)
File "/usr/lib/python3.10/logging/__init__.py", line 821, in filter
result = f.filter(record)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 499, in filter
record.location = get_node_location(location)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 519, in get_node_location
source = abspath(source)
File "/usr/lib/python3/dist-packages/sphinx/util/osutil.py", line 136, in abspath
pathdir = path.abspath(pathdir)
File "/usr/lib/python3.10/posixpath.py", line 378, in abspath
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not StringList
Gbp-Pq: Name 0009-Remove-some-documentation-referencing-the-source.patch
[changes brought forward from 1.8.1-14+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Mon, 26 Sep 2022 01:12:43 +0000]
* Disable testsuite.
* Add build-conflicts on git, the documenation seems to fail to
build if it is installed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 281, in build_main
app.build(args.force_all, args.filenames)
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 341, in build
self.builder.build_update()
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 310, in build_update
self.build(to_build,
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 376, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 571, in write
self._write_serial(sorted(docnames))
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 574, in _write_serial
with logging.pending_warnings():
File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 218, in pending_warnings
memhandler.flushTo(logger)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 183, in flushTo
logger.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
self.callHandlers(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 964, in handle
rv = self.filter(record)
File "/usr/lib/python3.10/logging/__init__.py", line 821, in filter
result = f.filter(record)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 499, in filter
record.location = get_node_location(location)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 519, in get_node_location
source = abspath(source)
File "/usr/lib/python3/dist-packages/sphinx/util/osutil.py", line 136, in abspath
pathdir = path.abspath(pathdir)
File "/usr/lib/python3.10/posixpath.py", line 378, in abspath
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not StringList
Gbp-Pq: Name 0009-Remove-some-documentation-referencing-the-source.patch
The reason is a divide-by-zero warning that our test suite settings
convert to an error. So ignore these warnings, because they're
coming from inside `scikit-umfpack`.
This has been failing consistently in the Azure pre-release job.
Closes gh-16523
[skip github]
Gbp-Pq: Name 0017-MAINT-fix-umfpack-test-failure-with-numpy-1.23.patch
Ralf Gommers [Fri, 17 Jun 2022 14:22:40 +0000 (16:22 +0200)]
MAINT: fix up `_sputils.get_index_dtype` for NEP 50 casting rules
The issue boiled down to `np.iinfo(np.int32).max` being a Python int,
and comparisons between numpy scalars and Python scalars changing
behavior - so avoid using Python scalars.
Also fix other sparse issues in the test suite turned up by NEP 50
And makes the tests more concise.
Gbp-Pq: Name 0014-MAINT-fix-up-_sputils.get_index_dtype-for-NEP-50-cas.patch
Tyler Reddy [Tue, 20 Dec 2022 03:22:21 +0000 (20:22 -0700)]
MAINT: casting errstate for NumPy 1.24
* Attempts to deal with the ARM-specific portion
of gh-17630 -- these issues appear to be the
result of NumPy 1.24.0 change:
https://numpy.org/devdocs/release/1.24.0-notes.html#numpy-now-gives-floating-point-errors-in-casts
* I was able to reproduce and fix the issues
in `scipy/sparse/tests/test_base` on an ARM node
* however, for `test_decomp_update` I actually saw more severe
problems when working on a Cavium ThunderX2 B0 node;
for the latter cases, I'll paste what I saw below
for some of the representative failures, but for now
I just tried to patch the less severe casting errors I see
in the CI for those tests to see if it helps (I'm hoping that
my own flavor of OpenBLAS is just throwing things off locally
and I can at least delay looking into that for now...)
```
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_neg_strides_economic_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_neg_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_itemsize_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_native_byte_order_economic_rank_1 - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_unit_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_economic_rank_p - AssertionError:
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_native_byte_order_rank_1 - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_Mx1_economic_rank_p - AssertionError:
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_economic_rank_1 - AssertionError:
```
Gbp-Pq: Name 0013-MAINT-casting-errstate-for-NumPy-1.24.patch
warren [Wed, 12 Oct 2022 01:41:23 +0000 (21:41 -0400)]
MAINT: Handle numpy's deprecation of accepting out-of-bound integers.
After the change in https://github.com/numpy/numpy/pull/22385, numpy
raises a deprecation warning with calls such as np.int8(5000) and
np.uint32(-1). This change avoids such calls in the tests.
Gbp-Pq: Name 0012-MAINT-Handle-numpy-s-deprecation-of-accepting-out-of.patch
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 281, in build_main
app.build(args.force_all, args.filenames)
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 341, in build
self.builder.build_update()
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 310, in build_update
self.build(to_build,
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 376, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 571, in write
self._write_serial(sorted(docnames))
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 574, in _write_serial
with logging.pending_warnings():
File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 218, in pending_warnings
memhandler.flushTo(logger)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 183, in flushTo
logger.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
self.callHandlers(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 964, in handle
rv = self.filter(record)
File "/usr/lib/python3.10/logging/__init__.py", line 821, in filter
result = f.filter(record)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 499, in filter
record.location = get_node_location(location)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 519, in get_node_location
source = abspath(source)
File "/usr/lib/python3/dist-packages/sphinx/util/osutil.py", line 136, in abspath
pathdir = path.abspath(pathdir)
File "/usr/lib/python3.10/posixpath.py", line 378, in abspath
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not StringList
Gbp-Pq: Name 0009-Remove-some-documentation-referencing-the-source.patch
The reason is a divide-by-zero warning that our test suite settings
convert to an error. So ignore these warnings, because they're
coming from inside `scikit-umfpack`.
This has been failing consistently in the Azure pre-release job.
Closes gh-16523
[skip github]
Gbp-Pq: Name 0017-MAINT-fix-umfpack-test-failure-with-numpy-1.23.patch
Ralf Gommers [Fri, 17 Jun 2022 14:22:40 +0000 (16:22 +0200)]
MAINT: fix up `_sputils.get_index_dtype` for NEP 50 casting rules
The issue boiled down to `np.iinfo(np.int32).max` being a Python int,
and comparisons between numpy scalars and Python scalars changing
behavior - so avoid using Python scalars.
Also fix other sparse issues in the test suite turned up by NEP 50
And makes the tests more concise.
Gbp-Pq: Name 0014-MAINT-fix-up-_sputils.get_index_dtype-for-NEP-50-cas.patch
Tyler Reddy [Tue, 20 Dec 2022 03:22:21 +0000 (20:22 -0700)]
MAINT: casting errstate for NumPy 1.24
* Attempts to deal with the ARM-specific portion
of gh-17630 -- these issues appear to be the
result of NumPy 1.24.0 change:
https://numpy.org/devdocs/release/1.24.0-notes.html#numpy-now-gives-floating-point-errors-in-casts
* I was able to reproduce and fix the issues
in `scipy/sparse/tests/test_base` on an ARM node
* however, for `test_decomp_update` I actually saw more severe
problems when working on a Cavium ThunderX2 B0 node;
for the latter cases, I'll paste what I saw below
for some of the representative failures, but for now
I just tried to patch the less severe casting errors I see
in the CI for those tests to see if it helps (I'm hoping that
my own flavor of OpenBLAS is just throwing things off locally
and I can at least delay looking into that for now...)
```
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_neg_strides_economic_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_neg_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_itemsize_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_native_byte_order_economic_rank_1 - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_unit_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_economic_rank_p - AssertionError:
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_native_byte_order_rank_1 - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_Mx1_economic_rank_p - AssertionError:
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_economic_rank_1 - AssertionError:
```
Gbp-Pq: Name 0013-MAINT-casting-errstate-for-NumPy-1.24.patch
warren [Wed, 12 Oct 2022 01:41:23 +0000 (21:41 -0400)]
MAINT: Handle numpy's deprecation of accepting out-of-bound integers.
After the change in https://github.com/numpy/numpy/pull/22385, numpy
raises a deprecation warning with calls such as np.int8(5000) and
np.uint32(-1). This change avoids such calls in the tests.
Gbp-Pq: Name 0012-MAINT-Handle-numpy-s-deprecation-of-accepting-out-of.patch
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 281, in build_main
app.build(args.force_all, args.filenames)
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 341, in build
self.builder.build_update()
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 310, in build_update
self.build(to_build,
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 376, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 571, in write
self._write_serial(sorted(docnames))
File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 574, in _write_serial
with logging.pending_warnings():
File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 218, in pending_warnings
memhandler.flushTo(logger)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 183, in flushTo
logger.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1634, in handle
self.callHandlers(record)
File "/usr/lib/python3.10/logging/__init__.py", line 1696, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.10/logging/__init__.py", line 964, in handle
rv = self.filter(record)
File "/usr/lib/python3.10/logging/__init__.py", line 821, in filter
result = f.filter(record)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 499, in filter
record.location = get_node_location(location)
File "/usr/lib/python3/dist-packages/sphinx/util/logging.py", line 519, in get_node_location
source = abspath(source)
File "/usr/lib/python3/dist-packages/sphinx/util/osutil.py", line 136, in abspath
pathdir = path.abspath(pathdir)
File "/usr/lib/python3.10/posixpath.py", line 378, in abspath
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not StringList
Gbp-Pq: Name 0009-Remove-some-documentation-referencing-the-source.patch
The reason is a divide-by-zero warning that our test suite settings
convert to an error. So ignore these warnings, because they're
coming from inside `scikit-umfpack`.
This has been failing consistently in the Azure pre-release job.
Closes gh-16523
[skip github]
Gbp-Pq: Name 0017-MAINT-fix-umfpack-test-failure-with-numpy-1.23.patch
Ralf Gommers [Fri, 17 Jun 2022 14:22:40 +0000 (16:22 +0200)]
MAINT: fix up `_sputils.get_index_dtype` for NEP 50 casting rules
The issue boiled down to `np.iinfo(np.int32).max` being a Python int,
and comparisons between numpy scalars and Python scalars changing
behavior - so avoid using Python scalars.
Also fix other sparse issues in the test suite turned up by NEP 50
And makes the tests more concise.
Gbp-Pq: Name 0014-MAINT-fix-up-_sputils.get_index_dtype-for-NEP-50-cas.patch
Tyler Reddy [Tue, 20 Dec 2022 03:22:21 +0000 (20:22 -0700)]
MAINT: casting errstate for NumPy 1.24
* Attempts to deal with the ARM-specific portion
of gh-17630 -- these issues appear to be the
result of NumPy 1.24.0 change:
https://numpy.org/devdocs/release/1.24.0-notes.html#numpy-now-gives-floating-point-errors-in-casts
* I was able to reproduce and fix the issues
in `scipy/sparse/tests/test_base` on an ARM node
* however, for `test_decomp_update` I actually saw more severe
problems when working on a Cavium ThunderX2 B0 node;
for the latter cases, I'll paste what I saw below
for some of the representative failures, but for now
I just tried to patch the less severe casting errors I see
in the CI for those tests to see if it helps (I'm hoping that
my own flavor of OpenBLAS is just throwing things off locally
and I can at least delay looking into that for now...)
```
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_neg_strides_economic_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_neg_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_itemsize_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_native_byte_order_economic_rank_1 - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_unit_strides_rank_p - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_economic_rank_p - AssertionError:
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_d::test_non_native_byte_order_rank_1 - ValueError: array must not contain infs or NaNs
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_Mx1_economic_rank_p - AssertionError:
FAILED scipy/linalg/tests/test_decomp_update.py::TestQRupdate_D::test_economic_rank_1 - AssertionError:
```
Gbp-Pq: Name 0013-MAINT-casting-errstate-for-NumPy-1.24.patch
warren [Wed, 12 Oct 2022 01:41:23 +0000 (21:41 -0400)]
MAINT: Handle numpy's deprecation of accepting out-of-bound integers.
After the change in https://github.com/numpy/numpy/pull/22385, numpy
raises a deprecation warning with calls such as np.int8(5000) and
np.uint32(-1). This change avoids such calls in the tests.
Gbp-Pq: Name 0012-MAINT-Handle-numpy-s-deprecation-of-accepting-out-of.patch